package com.coderman.infosys.auth.adapter.convert;

import com.coderman.infosys.auth.adapter.vo.authority.SystemAuthorityVO;
import com.coderman.infosys.auth.adapter.vo.authority.request.CreateSystemAuthorityRequestVO;
import com.coderman.infosys.auth.adapter.vo.authority.request.UpdateSystemAuthorityRequestVO;
import com.coderman.infosys.auth.domain.bo.authority.SystemAuthorityBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* @Description:SystemAuthorityConvertervobo接口
* @Author:
* @CreateTime:2022-01-04 15:27:39
* @version v1.0
*/
@Mapper
public interface SystemAuthorityConverter{
	SystemAuthorityConverter INSTANCE = Mappers.getMapper(SystemAuthorityConverter.class);

	/**
	 *
	 * @Description:
	 * @return List<SystemAuthorityBO>
	 */
	 List<SystemAuthorityBO> volist2boList(List<CreateSystemAuthorityRequestVO> createSystemAuthorityRequestVOList);
	/**
	 *
	 * @Description:
	 * @return SystemAuthorityBO
	 */
	 SystemAuthorityBO vo2bo(SystemAuthorityVO systemAuthorityVO);
	/**
	 *
	 * @Description:
	 * @return SystemAuthorityVO
	 */
	 SystemAuthorityVO bo2VO(SystemAuthorityBO systemAuthorityBO);
	/**
	 *
	 * @Description:
	 * @return SystemAuthorityBO
	 */
	 SystemAuthorityBO vo2bo(CreateSystemAuthorityRequestVO createSystemAuthorityRequestVO);
	/**
	 *
	 * @Description:
	 * @return SystemAuthorityBO
	 */
	 SystemAuthorityBO vo2bo(UpdateSystemAuthorityRequestVO updateSystemAuthorityRequestVO);
	/**
	 *
	 * @Description:
	 * @return List<SystemAuthorityBO>
	 */
	 List<SystemAuthorityBO> vos2bos(List<UpdateSystemAuthorityRequestVO> updateSystemAuthorityRequestVOList);
	/**
	 *
	 * @Description:
	 * @return List<SystemAuthorityVO>
	 */
	 List<SystemAuthorityVO> boList2voList(List<SystemAuthorityBO> systemAuthorityBOList);
	/**
	 *
	 * @Description:
	 * @return List<SystemAuthorityBO>
	 */
	 List<SystemAuthorityBO> voList2boList(List<SystemAuthorityVO> vOList);
}